package cn.smile.bean.entity.core;

import cn.smile.commons.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
    * 角色用户关联表
 * @author smile-jt
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user_role")
public class UserRole extends BaseDomain {
    @Serial
    private static final long serialVersionUID = 7950663658671254002L;

    /**
    * 用户ID
    */
    private String userId;

    /**
    * 角色ID
    */
    private String roleId;
}